<%@page import="com.sbl.bajw.pc.model.buildingModel"%>
<%@include file="../common/prama.jsp" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	buildingModel bModel =(buildingModel)request.getAttribute("model");
	String os = bModel.getOs();
	String path = null;
	String[] smallimgurl = {};
	if(bModel.getSmallimgurl() != null && !bModel.getSmallimgurl().equals("")){
		smallimgurl = bModel.getSmallimgurl().split(",");
		if(os == null || os.equals("")){
			path = BaseUrl + "/" + smallimgurl[0];
		}else {
			path = "http://ba110.cn" + smallimgurl[0];
		}
	}else{
		path = BaseUrl + "/" + "images/czw.png";
	}
%>
<style type="text/css">
td{
	width: 135px;
	height: 35px;
	line-height: 35px;
	text-align:center;
}
</style>
<div>
	<table cellpadding="0" cellspacing="0" border="1">
		<tr>
			<td colspan="4"><h4>详情</h4></td>
		</tr>
		<tr>
			<td colspan="4"><img src="<%=path %>" style="width: 80px; height:150px;"/></td>
		</tr>
		<tr>
			<td class="name">地址：</td>
	        <td class="data" colspan="3">${model.addr }</td>
	    </tr>
	    <tr>
	    	<td class="name">采集类型：</td>
	    	<td class="data">${model.iname }</td>
			<td class="name">楼栋编码：</td>
	        <td class="data">${model.buildingCode }</td>
	    </tr>
	    <tr>
			<td class="name">楼栋类型：</td>
	        <td class="data">${model.dname }</td>
			<td class="name">采集人员手机号码：</td>
	        <td class="data">${model.telno }</td>
		</tr>
	    <tr>
	    	<td class="name">总间套数：</td>
	        <td class="data">${model.zjts }</td>
			<td class="name">楼层数：</td>
	        <td class="data">${model.cs }</td>
	    </tr>
		<tr>
			<td class="name">所属派出所：</td>
	        <td class="data">${model.pcs }</td>
			<td class="name">所属警区：</td>
	        <td class="data">${model.jq }</td>
		</tr>
	    <tr>
			<td class="name">所属责任区：</td>
	        <td class="data">${model.zrq }</td>
			<td class="name">所属社区：</td>
	        <td class="data">${model.sq }</td>
	    </tr>
	    <tr>
			<td class="name">所属街道：</td>
	        <td class="data">${model.jd }</td>
			<td class="name">社区民警姓名：</td>
	        <td class="data">${model.zrmjxm }</td>
	    </tr>
		<tr>
			<td class="name">社区民警警号：</td>
	        <td class="data">${model.zrmjjh }</td>
			<td class="name">社区民警手机号码：</td>
	        <td class="data">${model.sqmjsjh }</td>
		</tr>
		<tr>
			<td class="name">分管所领导：</td>
	        <td class="data">${model.fgsld }</td>
			<td class="name">分管所领导警号：</td>
	        <td class="data">${model.fgsldjh }</td>
		</tr>
		<tr>
			<td class="name">是否围合：</td>
	        <td class="data">${model.sfwh }</td>
			<td class="name">是否有电梯：</td>
	        <td class="data">${model.sfpbdt }</td>
		</tr>
		<tr>
			<td class="name">是否混合出租：</td>
	        <td class="data">${model.lx }</td>
			<td class="name">是否有门禁：</td>
	        <td class="data">${model.ywmj }</td>
		</tr>
		<tr>
			<td class="name">是否有简易消防设施：</td>
	        <td class="data">${model.ywjyxfxx }</td>
			<td class="name">是否有高危场所：</td>
	        <td class="data">${model.ywdxjgcd }</td>
		</tr>
		<tr>
			<td class="name">是否有专职楼管员：</td>
	        <td class="data">${model.ywzzlgy }</td>
			<td class="name">是否有视频监控：</td>
	        <td class="data">${model.ywsp }</td>
		</tr>
		<tr>
			<td class="name">是否有租赁登记：</td>
	        <td class="data">${mode.ywzld }</td>
			<td class="name">是否全部出租：</td>
	        <td class="data">${model.zlfw }</td>
		</tr>
	</table>
	
</div>